#ifndef POLY_H
#define POLY_H

#include "GF.h"

/* Function declarations */
int polyIsZero(Vector * p);
Vector * polyTrimZeros(Vector * p);
int polyPlugIn(int m, Matrix * add_one, Vector * p, int x);
Vector * polyAdd(int m, Matrix * add_one, Vector * x, Vector * y);
Vector * polyMult(int m, Matrix * add_one, Vector * x, Vector * y);
Vector** polyDiv(int m, Matrix * add_one, Vector *n, Vector *d);
int deg(Vector *p);
Vector* findRoots(int m, Matrix * add_one, Vector *p);


#endif
